<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/6
 * Time: 16:34
 */
namespace Admin\Model;
use Base\Model\BaseModel;
class InspectionIndexModel extends BaseModel {
    protected $dbName = 'transplant_manager0';
    protected $_link = array(
        'pictruelist'=>array(
            'mapping_type' =>3,
            'class_name'=>'transplant_manager0.inspection_pic_detail',
            'foreign_key' => 'indexid',
            'parent_key' => 'id',
        )
    );
}